package com.missilike.core.config;

import com.missilike.core.domain.alipay.AlipayProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: starmile
 * @Description:
 * @Create: 2018-12-13 23:21
 **/
@Slf4j
@Configuration
public class AlipayConfig {

    @Bean
    @ConfigurationProperties(prefix = "alipay")
    public AlipayProperties alipayProperties(){
        return new AlipayProperties();
    }
}

